package com.admin.contorl;

import com.admin.entity.TableData;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.TableView;

public class AQIdistributetotalstatisViewControl {
    @FXML
    private TableView<TableData> tableView;

    @FXML
    private void initialize() {
        ObservableList<TableData> data = FXCollections.observableArrayList(
                new TableData("1","优","0"),
                new TableData("2","良","0"),
                new TableData("3","轻度污染","0"),
                new TableData("4","中度污染","0"),
                new TableData("5","重度污染","0"),
                new TableData("6","严重污染","0")
        );
        tableView.setItems(data);
    }
}
